package com.spring.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.spring.gowhere.R;

/**
 * 我的账单
 * 
 * @author Administrator
 * 
 */
public class MyBillActivity extends BaseActivity {
	RelativeLayout airorder, airorder2;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.queryaccount);
		setContentView(R.layout.mybillactivity);
		airorder = (RelativeLayout) findViewById(R.id.shouzhirelativelayout);
		ImageButton imageButton = (ImageButton) findViewById(R.id.title_left_ib);
		imageButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				finish();
			}
		});
		TextView textView = (TextView) findViewById(R.id.title_tv);
		textView.setText("我的账户");
		airorder.setOnClickListener(new OnClickListener() { // 收支明细查询

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub

				Intent intent = new Intent(MyBillActivity.this,
						QuerySZListActivity.class);
				startActivity(intent);
			}
		});
		airorder2 = (RelativeLayout) findViewById(R.id.xiaofeirelativelayout);
		airorder2.setOnClickListener(new OnClickListener() { // 消费明细查询

					@Override
					public void onClick(View v) {
						// TODO Auto-generated method stub
						Intent intent = new Intent(MyBillActivity.this,
								QueryXFListActivity.class);
						startActivity(intent);
					}
				});
	};

}
